package com.atguigu07.encapsulation.exer1;

/**
 * ClassName: PersonTest
 * Package: com.atguigu07.encapsulation.exer1
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/20 17:00
 * @Version 1.0
 */
public class PersonTest {
    public static void main(String[] args) {
        // 创建Person实例1
        Person p1 = new Person();
        p1.setAge(100);
        System.out.println(p1.getAge());
    }
}
